<?php

namespace app\api\controller;

use app\api\model\SettimeModel;
use app\BaseController;

class Settime extends BaseController
{
    public function index()
    {
          //保存name
        $name = "我是小高";
       $model = new SettimeModel();
       $model->save(['name' => $name]);
    }
}